import { http } from '../utils/http.js'

export const reqGetCode = (data) => {
	return http.get('/code', { params: data })
}
export const reqGetLogin = (data) => {
	return http.post('/login', data)
}

export const reqUserInfo = () => {
	return http.get('/patient/myUser')
}

export const reqAddUserInfo = (data) => {
	return http.post('patient/add', data)
}
